package com.b2bpsssm.service;
//     收款单表


import com.b2bpsssm.common.R;
import com.b2bpsssm.pojo.SalesPassOrder;

public interface ReceiptService {
    /**
     * 查询 带分页
     * @param currentPage
     * @param pageSize
     * @return
     */
    R queryReceiptList(Integer currentPage, Integer pageSize);


    /**
     * 根据单据编号查询
     * @param document_no
     * @return
     */
    R queryReceiptByNumber(String document_no);


    /**
     * 根福付款方查询
     * @param customer
     * @return
     */
    R queryReceiptByPayer(Integer currentPage, Integer pageSize, String customer);

    /**
     * 添加付款单
     * @param salesPassOrder
     * @return
     */
     R addReceipt(SalesPassOrder salesPassOrder);

    /**
     * 以付款方关键字 时间范围 进行关键字查询
     * @param currentPage
     * @param pageSize
     * @param sub_date1
     * @param sub_date2
     * @param customer
     * @return
     */
    R selReceiptLikeReceiptPayer(Integer currentPage, Integer pageSize, String sub_date1, String sub_date2, String customer);


}
